
#ifndef OPTION_H
#define OPTION_H

#pragma once
#include <list>
//#include <vector>
//#include <bitset>

typedef list<string> 	StrList;
//typedef list<void *>	PtrList;
//typedef list<uint32>	UinList;
class COption  
{
public:
	COption();
	virtual ~COption();

    bool autoSwitchStatus;
    bool autoCancelAway;
	int  autoStatus;
	int  autoStatusTime;
    bool autoReply;
	CString autoReplyText;
	CString quickReplyText;

    void setDefaultOptions();
    void SaveOptions();
    void LoadOptions();
	static void LoadAutoReply(StrList &l);
	static void SaveAutoReply(StrList &l);
	static void LoadQuickReply(StrList &l);
	static void SaveQuickReply(StrList &l);
	//static void loadQuickReply(StrList &l);
	//static void saveQuickReply(StrList &l);
	//static void loadAutoReply(StrList &l);
	//static void saveAutoReply(StrList &l);

private:

	//static void loadStrList(const char *file, StrList &l);
	//static void saveStrList(const char *file, StrList &l);

//	static string dbDir;
};

#endif // OPTION_H
